/*
 * Created by LiuYou on 2020/11/26.
 *
 */

#ifndef EFFECTIVECPP_PC_HPP
#define EFFECTIVECPP_PC_HPP

#include <memory>
#include <string>
#include "Pcfwd.hpp"

namespace computer {
    class Pc {
    public:
        Pc(int pcId, const std::string& pcFeature);

        int getPcId() const;

        const std::string& getPcFeature() const;

        friend std::ostream& operator<<(std::ostream& os, const Pc& pc);

    private:
        std::shared_ptr<PcImpl> pImpl;
    };

}


#endif //EFFECTIVECPP_PC_HPP
